<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/WEB-INF/views/modules/cms/front/include/taglib.jsp"%>
<!DOCTYPE html>
<html>
<head>
	<title>${category.name}</title>
    <meta name="decorator" content="cms_default_${fns:getConfig('site.theme')}"/>
	<meta name="description" content="${category.description}" />
	<meta name="keywords" content="${category.keywords}" />
	<link rel="stylesheet" href="${ctxStaticTheme}/css/style-tmt.css">
	<link rel="stylesheet" href="${ctxStaticTheme}/css/xunzong.css"/>
	<script type="text/javascript" src="${ctxStaticTheme}/js/jquery-1.8.3.min.js"></script>
	<script type="text/javascript" src="${ctxStaticTheme}/js/layer.m.js"></script>
	<script type="text/javascript" src="${ctxStaticTheme}/js/common.js"></script>
</head>
<body>
	<!---- -- -- -- -顶部导航 -- -- -- -- -- -- -- -->
<div class="xz-headerbar" >
<a  class="xz-btnback" href="javascript:void(0);" onclick="goBack();"></a>
<span  class="xz-headnav">${category.name}</span>
</div>

<!---- -- -- -- --主内容 -- -- -- -- -- -- -- -->
<div class="xz-contants" >
 <div class="xz-contantend"><ul class="tmt-list tmt-list_box tmt-list_icon" id="kccontent"></ul></div>
 <div id="infscr-loading"><img alt="Loading..." src="${ctxStaticTheme}/css/imgs/loading.gif"><span> </span></div>
</div>
<script type="text/javascript" src="${ctxStaticTheme}/js/loadContent.js?111111"></script>
<script type="text/javascript">
$(document).ready(function () {
	init("${category.id}");
	$(document).scroll(function(){
		var bottom_padding=$(document).height()-$(document).scrollTop()-$(window).height();
		//&& !loading_flag&&!loadingFinish
		if(bottom_padding<50){
			//console.log(bottom_padding);
			loadCotent();
		}
	});
});
</script>
</body>
</html>